package com.imusic.model.music.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("music_video")
public class MusicVideo implements Serializable {

    @TableId(value = "id",type = IdType.ID_WORKER)
    private Long id;

    @TableField("name")
    private String name;

    @TableField("music_id")
    private Integer musicId;

    @TableField("singer_id")
    private Long singerId;

    @TableField("singer_name")
    private String singerName;

    @TableField("likes")
    private Integer likes;

    @TableField("plays")
    private Integer plays;

    @TableField("searchs")
    private Integer searchs;

    @TableField("create_time")
    private Date createTime;

}
